
<extend name="Base/common"/>
<block name="style">
    <style type="text/css">
        .tchers{}
        .tchers>li{border-bottom:1px solid #ccc; position:relative; display:block; padding:0 25px; padding-top:30px; width:720px; float:left;}
        .tchers>li .pic{ display:inline-block; float:left; width:240px; padding:0 60px;}
        .posR{width:300px; padding:0 30px;float:left; padding-top:20px;}
        .txtbame{display:block;font-size:24px; color:#000; padding:20px 0; font-weight:100;}
        .tcontxt{display:block; margin-top:15px;color:#394454;font-size:14px; line-height:24px;}
        .tchers>li:nth-child(even) .pic{float:right;}
    </style>
</block>

<block name="body">

    <div class="base">
        <?php if(!isset($bannerList) || empty($bannerList) || empty($bannerList['data'])):?>
        <img class="ibox" src="http://www.baffedu.com/bfyy/Uploads/Picture/2016-07-21/579093980ca42.jpg" />
        <?php else:?>
        <volist name="bannerList['data']" id="vo">
            <img class="ibox" src="{$vo['image_url']}" title="{$vo.title}" />
        </volist>
        <?php endif;?>
    </div>

    <div class="base mt10 pb50">
        <div class="main mt10">

            <div class="base basleft">
                <ul class="base navlist">
                    <volist name="parentCategoryList" id="vo">
                        <li class="<eq name='parentCategoryInfo.id' value='$vo.id'>active</eq>">
                            <a href="{:getListUrl($vo['id'], strtolower(CONTROLLER_NAME))}" title="{$vo['title']}" class="cour">{$vo['title']}</a>
                        </li>
                    </volist>
                </ul>
            </div>

            <div class="arecont">
                <ul class="base tchers">
                    <volist name="list" id="vo">
                    <li>
                        <span class="pic">
                            <img class="ibox" src="{:getCoverUrl($vo['cover_id'])}" alt="" />
                        </span>
                        <div class="posR">
                            <div class="base txtbame">{$vo['title']}</div>
                            <div class="base iarle"><i>毕业学校：</i>{$vo['extend_1']}</div>
                            <!--<div class="base"><i class="tcname">{$vo['extend_1']}</i></div>-->
                            <p class="base tcontxt">
                                {$vo['description']}
                            </p>
                            <div class="base iarle mt15"><i>教学风格：</i>{$vo['extend_2']}</div>
                        </div>
                    </li>
                    </volist>
                </ul>
            </div>
        </div>
    </div>

</block>